import request from '@/utils/request'

// 项目分类列表
export function findAllBeautyCategoryList(query) {
    return request({
        url:'/com.mmk.reservation.api.AdminBeautyCategoriesProvider/1.0.0/findAllBeautyCategoryList.html',
        method: 'post',
        data: query
    })
}

// 状态
export function updateBeautyCategoryStatus(query) {
    return request({
        url:'/com.mmk.reservation.api.AdminBeautyCategoriesProvider/1.0.0/updateBeautyCategoryStatus.html',
        method: 'post',
        data: query
    })
}

// 新增分类
export function saveBeautyCategory(query) {
    return request({
        url:'/com.mmk.reservation.api.AdminBeautyCategoriesProvider/1.0.0/saveBeautyCategory.html',
        method: 'post',
        data: query
    })
}

// 删除
export function deleteBeautyCategory(query) {
    return request({
        url:'/com.mmk.reservation.api.AdminBeautyCategoriesProvider/1.0.0/deleteBeautyCategory.html',
        method: 'post',
        data: query
    })
}

//编辑
export function updateBeautyCategory(query) {
    return request({
        url:'/com.mmk.reservation.api.AdminBeautyCategoriesProvider/1.0.0/updateBeautyCategory.html',
        method: 'post',
        data: query
    })
}